<?php
/**
 * Defines Kodform_Attributes class
 *
 *
 * @copyright 	Copyright (c) 2006 Boris Tomic (kodmasin.net)
 * @category 	Kodform
 * @package 	Kodform
 * @author 		Boris Tomic
 * @license 	http://boris.kodmasin.net/kodform4:license The BSD License
 *
 */

require_once 'Kodform/Attributes/Attributes.php';
/**
 * This is class which holds all display attributes in 
 * three public members (required, normal, error).
 * 
 * So using this class you can define attributes for form element
 * regarding its state (normal, required, error)
 */
class Kodform_Attributes{
	/**
	 * holds required attributes
	 *
	 * @var Kodform_Attributes_Attributes
	 */
	public $required;
	/**
	 * holds normal attributes
	 * 
	 * @var Kodform_Attributes_Attributes
	 */
	public $normal;
	/**
	 * holds error attributes
	 *
	 * @var Kodform_Attributes_Attributes
	 */
	public $error;
	function __construct(){
	    $this->required = new Kodform_Attributes_Attributes();
	    $this->normal = new Kodform_Attributes_Attributes();
	    $this->error = new Kodform_Attributes_Attributes();
	}
}
